import React from'react';
import Search from './Component/Search';
import List from './Component/List';
import './App.css';
import {BrowserRouter as Router,Routes,Route} from "react-router-dom";

function App(){
    return(
    <Router>
        <Routes>
            <Route path='/' element={<List></List>}></Route>
            <Route path='/search' element={<Search></Search>}></Route>
        </Routes>
    </Router>
    )
    
}
export default App;